package com.douwong.student.model;

import android.graphics.Bitmap;

/**
 * 课堂通讯消息类
 * @author Administrator
 *
 */
public class ClassMessage {
	private Bitmap headBitmap;//用户头像
	private String nickName;//用户昵称
	private String createTime;//创建消息时间
	private String messageContent;//消息内容
	private boolean isSend=true;//消息发送状态
	private String voiceTime;//录音时间
	private int messageType;//消息类型
	private int identity;//0 为别人，1为自己
	private String voicePath;//录音存放的路径
	private String filePath;//文件路径
	private String sendId;//文件id
	private int currentProgress;//文件当前进度
	private int totalSize;//文件总大小
	private boolean isUpLoad=false;
	public boolean isUpLoad() {
		return isUpLoad;
	}
	public void setUpLoad(boolean isUpLoad) {
		this.isUpLoad = isUpLoad;
	}
	public int getCurrentProgress() {
		return currentProgress;
	}
	public void setCurrentProgress(int currentProgress) {
		this.currentProgress = currentProgress;
	}
	public int getTotalSize() {
		return totalSize;
	}
	public void setTotalSize(int totalSize) {
		this.totalSize = totalSize;
	}
	
	public String getSendId() {
		return sendId;
	}
	public void setSendId(String sendId) {
		this.sendId = sendId;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	private boolean isReaded=false;//用来表示语音是否已经读过
	private int voiceId=0;//语音的id 
	public String getVoicePath() {
		return voicePath;
	}
	public void setVoicePath(String voicePath) {
		this.voicePath = voicePath;
	}
	public int getIdentity() {
		return identity;
	}
	public void setIdentity(int identity) {
		this.identity = identity;
	}
	public Bitmap getHeadBitmap() {
		return headBitmap;
	}
	public void setHeadBitmap(Bitmap headBitmap) {
		this.headBitmap = headBitmap;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getMessageContent() {
		return messageContent;
	}
	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}
	public boolean isSend() {
		return isSend;
	}
	public void setSend(boolean isSend) {
		this.isSend = isSend;
	}
	public String getVoiceTime() {
		return voiceTime;
	}
	public void setVoiceTime(String voiceTime) {
		this.voiceTime = voiceTime;
	}
	public int getMessageType() {
		return messageType;
	}
	public void setMessageType(int messageType) {
		this.messageType = messageType;
	}
	public boolean isReaded() {
		return isReaded;
	}
	public void setReaded(boolean isReaded) {
		this.isReaded = isReaded;
	}
	public int getVoiceId() {
		return voiceId;
	}
	public void setVoiceId(int voiceId) {
		this.voiceId = voiceId;
	}
	

}
